import type { RouteObject } from 'react-router-dom'
import About from '../views/about'
import Page404 from '../views/exception/404'
import Index from '../views/index'

export const constantRouteMap: RouteObject[] = [
  {
    path: '/',
    element: <Index />,
  },
  {
    path: '/about',
    element: <About />,
  },
  {
    path: '*',
    element: <Page404 />,
  },
]
